package creational.abstractFactory.app;

import creational.abstractFactory.WidgetFactory;

public class ContactForm {
  public void render(WidgetFactory widgetFactory) {
    var textBox = widgetFactory.createTextBox();
    textBox.render();

    var button = widgetFactory.createButton();
    button.render();
    button.click();
  }
}
